package ai.zixing.factory.simple_factory.service.impl;

import ai.zixing.factory.simple_factory.entity.AwardInfo;
import ai.zixing.factory.simple_factory.entity.ResponseResult;
import ai.zixing.factory.simple_factory.service.IFreeGoods;

/**
 * 优酷 会员服务
 */
public class YouKuMemberFreeGoods implements IFreeGoods {
    @Override
    public ResponseResult sendFreeGoods(AwardInfo awardInfo) {
        String phone = awardInfo.getExtMap().get("phone");
        System.out.println("发放优酷会员成功,绑定手机号: " + phone);
        return new ResponseResult("200","优酷会员发放成功!");
    }
}
